
class console : public base
{
public:
	console();
	~console();

	int init(coeur *,IGUIEnvironment *);
	int update();
	int close();
	
	bool OnEvent(const SEvent&);
private:

	IrrlichtDevice *device;
	IVideoDriver* driver;
	ISceneManager* smgr;
	IGUIEnvironment* env;

	IGUIImage* inventaire;

	stringw *text;

	IGUIImage *cons;
	IGUIEditBox *tx;
	IGUIEditBox* box;

	bool v;
};

